package com.jinsilu.freight.http.request;

import com.hjq.http.config.IRequestApi;

/**
 * 上传驾驶证
 *
 * {
 * description:
 * 我的认证-提交驾驶证认证信息
 *
 * address	string
 * 驾照地址
 *
 * drawTime	string
 * 驾照领取时间
 *
 * driverLicense	string
 * 驾照号码
 *
 * driverLicenseFrontUrl	string
 * 驾驶证正页图片
 *
 * driverLicenseReverseUrl	string
 * 驾驶证副页图片
 *
 * issuingAuthority	string
 * 驾照发证机关
 *
 * quasiDrivingType	string
 * 准驾车型
 *
 * validityEndDate	string
 * 有效期止
 *
 * validityStartDate	string
 * 有效期起
 *
 * }
 *
 * @author yangyang
 * @time 2020-11-18 16:43
 */
public class VerifyDrivingLicenseApi implements IRequestApi {

    private String address;
    private String drawTime;
    private String driverLicense;
    private String issuingAuthority;
    private String quasiDrivingType;
    private String validityEndDate;
    private String validityStartDate;
    private String driverLicenseFrontUrl;
    private String driverLicenseReverseUrl;
    private String reviewDate;

    @Override
    public String getApi() {
        return "api/certification/driver/driversLicense";
    }

    public VerifyDrivingLicenseApi setDrivingFrontUrl(String driverLicenseFrontUrl) {
        this.driverLicenseFrontUrl = driverLicenseFrontUrl;
        return this;
    }

    public VerifyDrivingLicenseApi setDrivingReverseUrl(String driverLicenseReverseUrl) {
        this.driverLicenseReverseUrl = driverLicenseReverseUrl;
        return this;
    }

    public VerifyDrivingLicenseApi setAddress(String address) {
        this.address = address;
        return this;
    }

    public VerifyDrivingLicenseApi setDrawTime(String drawTime) {
        this.drawTime = drawTime;
        return this;
    }

    public VerifyDrivingLicenseApi setDriverLicense(String driverLicense) {
        this.driverLicense = driverLicense;
        return this;
    }

    public VerifyDrivingLicenseApi setIssuingAuthority(String issuingAuthority) {
        this.issuingAuthority = issuingAuthority;
        return this;
    }

    public VerifyDrivingLicenseApi setQuasiDrivingType(String quasiDrivingType) {
        this.quasiDrivingType = quasiDrivingType;
        return this;
    }

    public VerifyDrivingLicenseApi setValidityEndDate(String validityEndDate) {
        this.validityEndDate = validityEndDate;
        return this;
    }

    public VerifyDrivingLicenseApi setValidityStartDate(String validityStartDate) {
        this.validityStartDate = validityStartDate;
        return this;
    }

    public VerifyDrivingLicenseApi setReviewDate(String reviewDate) {
        this.reviewDate = reviewDate;
        return this;
    }
}
